package org.springblade.modules.notice.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springblade.modules.notice.entity.BizMsgConfigRelation;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author ysq
 * @Date 2024/11/25
 * @Description 批量关联消息模板
 */
@Data
public class MsgConfigRelationBatchDTO {

	@NotNull(message = "消息管理id不能为空")
	@ApiModelProperty(value = "消息管理id")
	private Long bizMsgConfigId;

	@ApiModelProperty(value = "业务关联的消息模板")
	List<BizMsgConfigRelation> bizMsgConfigRelations;
}
